// 结果页-合同额内部分配
var contlisColumns = [{
  id: 'no',
  title: '内部采购编号',
  type: 'string',
  width: 200,
  columnClass: 'text-center',
}, {
  id: 'cgf',
  title: '采购方',
  type: 'string',
  width: 150,
  columnClass: 'text-center',
}, {
  id: 'gyf',
  title: '供应方',
  type: 'string',
  width: 150,
  columnClass: 'text-center',
}, {
  id: 'price',
  title: '采购金额(不含税)',
  type: 'string',
  width: 150,
  columnClass: 'text-center',
  resolution: function (value, record, column, grid, dataNo, columnNo) {
    var content = '￥' + value + '元';
    return content;
  }
}, {
  id: 'money',
  title: '税金',
  type: 'string',
  width: 100,
  columnClass: 'text-center',
  resolution: function (value, record, column, grid, dataNo, columnNo) {
    var content = '￥' + value + '元';
    return content;
  }
}, {
  id: 'jsf',
  title: '接收方',
  type: 'string',
  width: 150,
  columnClass: 'text-center',
}, {
  id: 'msg',
  title: '采购说明',
  type: 'string',
  // width: 150,
  columnClass: 'text-left',
}];
var contlisOption = {
  lang: 'zh-cn',
  ajaxLoad: false,
  // loadURL:'url',
  exportFileName: '内部采购列表',
  datas: [{
    no: '20190301145414900500',
    cgf: '项目名称测试数据',
    gyf: '赛特斯南京',
    price:'￥999.04元',
    money:'￥48.54元',
    jsf: '项目名称测试数据',
    msg: '备注说明测试数据',
  }],
  columns: contlisColumns,
  gridContainer: 'contlisContainer',
  toolbarContainer: 'contlisToolBarContainer',
  tools: '',
  pageSize: 10,
  pageSizeLimit: [10, 15, 20]
};
var contlisGrid = $.fn.dlshouwen.grid.init(contlisOption);
$(function () {
  contlisGrid.load();
});
